Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

134
Visualizações
Enabling datalabels plugin makes Y-scales visible on chart | Chart.js

I had Y-scales set display to false so they are not visible on the chart. When I enable chart.js datalabels plugin they are forced to display again and I can't prevent them to show up on the chart. Anyone knows what can cause this problem or maybe there is any option in the plugin to hide Y-scales so they are not visible on the chart?

Enabled datalabels plugin seems the way below:

plugins: [ChartDataLabels],
    options: {
      plugins: {
        datalabels: {
          align: 'top',
          offset: 5,
          display: 'auto'
        }
      }
    }

which is placed in the main config of the chart (place where is type, data or options of chart).
Scales looks that way:

scales: {
      y: {
        grid: {
          color: '#333'
        },
        name: 'Temp',
        type: 'linear',
        display: false,
        position: 'left',
      },
      y1: {
        grid: {
          color: '#333'
        },
        name: 'Wilg',
        type: 'linear',
        display: false,
        position: 'right',
      }
}
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda